<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8" />
    <title>设置租户管理员</title>
    <link href="../../assets/lib/layui/css/layui.css" rel="stylesheet" />
    <link href="../../assets/lib/winui/css/winui.css" rel="stylesheet" />
</head>

<body>
    <div style="padding:20px; margin:0 auto;">
        <form class="layui-form" action="" id="setAdminForm">
            <div class="layui-form-item layui-col-xs12">
                <span class="hr-title">基本信息</span><hr>
            </div>
            <div class="layui-form-item layui-col-xs6">
                <label class="layui-form-label">姓名<i class="red">*</i></label>
                <div class="layui-input-block">
                    <input type="text" id="userName" name="userName" win-verify="required" placeholder="请输入姓名"
                        class="layui-input" maxlength="20" />
                </div>
            </div>
            <div class="layui-form-item layui-col-xs6">
                <label class="layui-form-label">手机号<i class="red">*</i></label>
                <div class="layui-input-block">
                    <input type="text" id="phone" name="phone" win-verify="required|phone" placeholder="请输入手机号"
                        class="layui-input" maxlength="11" />
                </div>
            </div>
            <div class="layui-form-item layui-col-xs6">
                <label class="layui-form-label">性别<i class="red">*</i></label>
                <div class="layui-input-block winui-radio" id="userSex">
                </div>
            </div>
            <div class="layui-form-item layui-col-xs6">
                <label class="layui-form-label">身份证号<i class="red">*</i></label>
                <div class="layui-input-block">
                    <input type="text" id="userIdCard" name="userIdCard" win-verify="required|identity|number"
                        placeholder="请输入身份证号" class="layui-input" maxlength="18" />
                </div>
            </div>
            <div class="layui-form-item layui-col-xs6">
                <label class="layui-form-label">密码<i class="red">*</i></label>
                <div class="layui-input-block">
                    <input type="password" id="password" name="password" win-verify="required" placeholder="请输入密码"
                        class="layui-input" maxlength="20" />
                </div>
            </div>
            <div class="layui-form-item layui-col-xs12">
                <div class="layui-input-block">
                    <button class="winui-btn" lay-submit lay-filter="formSetAdmin">保存</button>
                </div>
            </div>
        </form>
    </div>
    <script src="../../assets/lib/layui/layui.js"></script>
    <script src="../../assets/lib/layui/custom.js"></script>
    <script type="text/javascript">
        layui.config({ base: '../../js/tenant/' }).use('setAdmin');
    </script>
</body>

</html>